<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" name="viewport">
		<link rel="stylesheet" type="text/css" href="../../css/mui.css" />
		<link href="../../css/style.css" rel="stylesheet" type="text/css">
		<title>发布信息</title>
		<style>
			body {
				background: #fff!important;  
			}
			.mui-icon-arrowleft{
				color: #000!important;
			}
			.mui-title{
				color: #000!important;
			}
			#sendMsgBtn{
				color: #000!important;
			}
		</style>
	</head>

	<body>
		<div id="send">
			<header class="mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
						<font class="mui-icon mui-icon-arrowleft"></font>
				</button>
				<h1 class="mui-title">发布图片</h1>
				<button class="fr" id="sendMsgBtn">确认</button> 
			</header>
			<div class="bg_f">
				<textarea id="msgcontent" placeholder="这一刻的想法......."></textarea>
				<div id="feedback" class="feedback">
					<div id='image-list' class="row image-list"></div> 
				</div>
				<div class="title">图片(最多上传9张图片)</div>
				<div class="sendtype">
					<div class="mui-card">
						<form class="mui-input-group">
							<div class="mui-input-row mui-radio">
								
								<label>公开<span>所有人可见</span></label>
								<input name="radio1" type="radio" checked="checked"/>
							</div>
							<!--div class="mui-input-row mui-radio">
								<label>私密<span>仅发布到成长日记</span></label>
								<input id="privatea" name="radio1" type="radio" />
							</div--->
						</form>
					</div>
					
				</div>
			</div>
			<div class="btnSend">
				<input type="hidden" id="msgtype" />
				<input type="hidden" id="sendtype" />
			</div>
			<div class="pad_30"></div>
		</div>
		<script type="text/javascript" src="../../js/jquery-1.8.3.min.js"></script>
		<script src="../../js/mui.min.js"></script> 
		<script src="../../js/app.js"></script>
		<script src='../../js/sendimagemsg.js'></script>
		<script src="../../js/token.js"></script>
		<script>

			var self = '';
			mui.init();
			mui.plusReady(function() {
				self = plus.webview.currentWebview();
				var msgtype = self.msgtype;
				document.getElementById("msgtype").value = msgtype;
							//切换孩子

					mui.back = function(event) {
					plus.nativeUI.confirm("退出此次编辑?", function(e) {
						if(e.index == 0) {
							plus.webview.currentWebview().close();
							
						}
					}, "提醒", ["退出", "取消"]);
				};
	  			
			});
			
		</script>
	</body>

</html>